Spread Windows Forms 11.0 Product Documentation
Item Property (NamedObjectCollection<T>)


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > NamedObjectCollection<T> Class : Item Property
The item's name.
Gets or sets the element with the specified name.
Syntax
'Declaration
 
Public Overridable Shadows Default Property Item( _
   ByVal name As String _
) As T
'Usage
 
Dim instance As NamedObjectCollection(Of T)
Dim name As String
Dim value As T
 
instance.Item(name) = value
 
value = instance.Item(name)
public virtual new T this[ 
   string name
]; {get; set;}

Parameters

name
The item's name.

Property Value

An INamedObject value that indicates the specified item.
Exceptions
ExceptionDescription
The assigned value is a null reference (Nothing in Visual Basic).
The item associated with the name cannot be found.
See Also

Reference

NamedObjectCollection<T> Class
NamedObjectCollection<T> Members